<!DOCTYPE html>
<html>
<html id="ng-app" ng-app="app">
  <meta charset="utf-8">
  <script src="js/angular.min.js"></script>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>后台大布局</title>
  <link rel="stylesheet" href="js/bootstrap.min.css">  
  <script type="text/javascript" src="wangEditor-3.0.15/release/wangEditor.min.js"></script>
   <script src="js/jquery.min.js"></script>
   <script src="js/bootstrap.min.js"></script>

  <link rel="stylesheet" href="js/layui/css/layui.css">

</head>
<body class="layui-layout-body" ng-controller="WriterController">
<div class="layui-layout layui-layout-admin">
  <div ng-include="'headerleft.html'"></div>
  
  <div class="layui-body">

      <div style="padding: 15px;" ng-controller="WriterController">

    <div class="form-group">
    <label for="name">标题</label>
    <input type="text" class="form-control" id="name" 
         placeholder="请输入名称">
    </div>

    <div id="editor">
        <p>写点啥。。。</p>
    </div>
    
    <script type="text/javascript">
        var E = window.wangEditor
        var editor = new E('#editor')
        // 或者 var editor = new E( document.getElementById('#editor') )
        editor.create()
    </script>
    </br> <a href="xueyashuju.html">
    <button class="btn btn-primary">
     提交
    </button></a>
    
</div>

  </div>

  <div ng-include="'subbar.html'"></div>
</div>

<script src="js/layui/layui.js"></script>
<script src="js/writetext.js"></script>
<script src="js/layer/layer.js"></script>
</body>
</html>